package com.example.AIstudy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.AIstudy.domain.Dialog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DialogDao extends BaseMapper<Dialog> {

    @Select("select * from dialog where questionID=#{quesID}")
    List<Dialog>findDialogsByQuesID(Integer quesID);
}
